package com.hxx.widget.bar

import android.graphics.Color
import android.os.Bundle
import android.view.WindowManager
import androidx.appcompat.app.AppCompatActivity
import androidx.appcompat.app.AppCompatDelegate

/***
 * 状态栏 统一管理
 */
open class BarAppCometActivity:AppCompatActivity(){
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        immersionBar {
            statusBarColorInt(Color.parseColor("#FFFFFF"))
            statusBarDarkFont(true)
            fitsSystemWindows(true)
            keyboardEnable(true)
            keyboardMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE)
        }
    }
}